<?php

class FileModel extends Model
{
    public function getFileInfo($id)
    {
        $this->loadTable('files');
        $condition = array('id' => $id);
        $rs = $this->tables['files']->get($condition);
        return $rs; 
    }
}

?>
